Preparation, Characterization and Uses of Thin Films in Optics