Role of thermal treatment on the luminescence properties of CdTe thin films for photovoltaic applications