Electrodeposition of CdSe on GaAs and InP substrates