An electron-spin-resonance study of polymer interactions with moisture in polyaniline and its derivatives