Optical design of the U7 undulator beamline at the Pohang Light Source.