Determining the optical properties of Transparent and Conductive Oxides for thin film solar cells