The a.c. impedance of complex electrochemical reactions