Optical design and active optics methods in astronomy