Study of pH effect on the relaxation phenomenon of polyaniline by electrochemistry and XPS