Squeezing and Thermal Effects in Non-Ideal Interferometric Detection of Gravitational Waves