Acceleration of polarized protons to 820-GeV at HERA