Degradation behavior of polyanilines with different modes of doping