How radioactive dating works chemically