Absolute and relative fossil dating