Optical characterization of dielectric and semiconductor thin films by use of transmission data.