Electrochemical investigations of the autophoretic coating process