Holographically generated twisted nematic liquid crystal gratings