Difference between Proof of Work (PoW) and Proof of Stake (PoS)