How to control the stoichiometry of cadmium telluride thin film for photovoltaic applications