Astronomical dating of works of art