The optical system of the H.E.S.S. imaging atmospheric Cherenkov telescopes. Part I: layout and components of the system