Astronomy and ancient chronology