Holographic techniques for augmented reality and virtual reality near-eye displays