Growth of polycrystalline CdS and CdTe thin layers for high efficiency thin film solar cells