An electrochemical study of sprayed CdS and CdZnS films