Two-photon optics: diffraction, holography, and transformation of two-dimensional signals