UV-Induced Modulation of the Refractive Index and the Surface Properties of Photoreactive Polymers Bearing N-Phenylamide Groups