Thermally controllable chiral nematic vector gratings with holographically regulated photoalignment films