Diffraction optics for laser beam shaping