Optimizing spectroscopic and photometric galaxy surveys: same-sky benefits for dark energy and modified gravity | Publicación