How Peer-to-Peer Energy Trading Works: A Guide to Blockchain Power Markets