Variational Principles and Methods in Theoretical Physics and Chemistry