Ectosymbiotic bacteria at the origin of magnetoreception in a marine protist