How is relative dating used in geology