variational method in quantum mechanics pdf