Astronomical basis of the Hindu calendar