Properties of chemical bath deposited CdS thin films