Structure evolution and mechanism of polyacrylonitrile and related copolymers during the stabilization