Design of phase plates for changing the wavefront of lasers