Preparation and properties of CdTe polycrystalline films for solar cells