Synthesis of the Materials with a Switchable Wettability Based on Photosensitive Terpolymers Containing Poly(Titanium Oxide)