Formation of blazed holographic gratings