Design, Characterization, and Preparation of New Smart Photoactive Polymers and Their Capacity for Photodynamic Antimicrobial Action in Organic Film