How eclipses proved that the Earth is slowing down