Electrochemical behaviour of polyaniline in weak acid solutions