Work function measurements on catalyst films subject to in situ electrochemical promotion