A search for neutrino emission from the Fermi bubbles with the ANTARES telescope