Effects of spatial coherence in diffraction phase microscopy