DWIA analysis of quasifree proton-proton scattering in nuclei at intermediate energies