Method to decrease spatial coherence of laser diode in holography by using optical path differences