Simultaneous optical and electrochemical monitoring of the protective effect of functional surface healing agents