Detection of gravitational waves in Michelson interferometer by the use of second order correlation functions