Apparatus for simultaneous measurements of the polarization and spin-rotation parameters in high-energy elastic scattering on polarized protons