Halo intruders in the Galactic bulge revealed by HST and Gaia: The globular clusters Terzan 10 and Djorgovski 1