Influence of the substrate on the optical properties of evaporated films