Measurements of the A and R parameters in proton-proton scattering at 47.8 and 27.6 MeV