Some Properties of CdS Sprayed Layers and Photocells Related to their Structure and Preparation Conditions