Electrochemistry, from batteries to brains