Electrodeposition of indium phosphide