Devices for electrochemical measurements