An integral non-intrusive electrochemical and in-situ optical technique for the study of the effectiveness of corrosion inhibition