The reactions K−pK−pand K−pKon between 600 and 1200 MeV/c