Observation of the cosmic ray shadow of the Sun with the ANTARES neutrino telescope