Flame retardant polyacrylonitrile copolymers