Electroplated cadmium chalcogenide layers: Characterization and use in photoelectrochemical solar cells