Replica wormholes and the entropy of Hawking radiation