Measurement of the real-to-imaginary ratio of the pp forward amplitude at beam momenta between 400 and 730 MeV/c