Electrochemical studies of III-V heterojunctions and nanowires