The influence of bath composition on the photocurrent response and morphology of chemically deposited CdS thin films