Nuclear transformation of a dinoflagellate symbiont of corals