what method is used to determine the age of a rock formation?