An electrochemical thermometer: voltammetric measurement of temperature and its application to amperometric gas sensing.