Electrooptical switching and photopatterning of luminescence in nematic liquid crystals doped with mesogenic europium complex