Refractive index extraction and thickness optimization of Cu2ZnSnSe4 thin film solar cells