Processing of CdTe thin films by intense pulsed light in the presence of CdCl2