Fundamentals of physical optics