Optical design of the atacama cosmology telescope and the millimeter bolometric array camera.