Proof of Work vs Proof of Stake: How Blockchains Reach Consensus in 2025