Optical dating of sediments