Climate change could affect timekeeping, study says