Synthesis of Optical Thin Films: Fundamentals and Applications