An explanation of radiocarbon dating