Coating and thin film characterization