Blockchain Proof-of-Work Is a Decentralized Clock