Invariant Variational Principles