Final state interactions in deuteron breakup by protons at 585 and 800 MeV