2 ways of dating fossils