Electrochemically programmed chemodosimeter on ultrathin platinum films.