Introduction to optics