Preparation and characterization of photoreactive copolymers containing curable pendants for positive photoresist