The Analog Ring Sampler: an ASIC for the front-end electronics of the ANTARES neutrino telescope