Conformally variational Riemannian invariants