What are the differences between absolute dating and relative dating in terms of determining the ages of rocks and fossils?