High-fidelity ghost diffraction and transmission in free space through scattering media