Retrieval of optical constants and thickness of thin films from transmission spectra.