Examination of the oxidative degradation of polyacrylonitrile using infrared spectroscopy