Photoinduced molecular reorientation and relaxation in a liquid crystalline polymer