A constitutive model that couples light propagation direction and deformation for photo-responsive polymers and polymeric gels