Logarithmic Sobolev inequalities and the spectrum of Schrödinger operators