Preparation and characterization of the copolymer containing N-pyridyl bi(methacryl)imide unit