Photoinduced protonation of polyaniline assisted by hydrogen-bonding materials