A compact electronic interface for electrochemical sensors