Use of artificial neural networks to predict thickness and optical constants of thin films from reflectance data