The spectrum of the Laplacian and smooth deformation of the Riemannian metric