Fabrication of solar cells based on Cu2ZnSnS4 films grown with optimized chemical composition homogeneity