Nuclear effects in the diffraction scattering of protons by nuclei at high energies