Correlations in quasi-elastic proton-proton scattering at total c.m. energies of 23 and 31 GeV