Measurement of spatial coherence using modified Michelson stellar interferometer