Tailoring the CdS/CdSe/CdTe multilayer structure for optimization of photovoltaic device performance guided by mapping spectroscopic ellipsometry