Alternating-current techniques in semiconductor electrochemistry