Role of proton transfer in the electrochemical reduction mechanism of salicylideneaniline