Dating of fossils and rocks