Diffeomorphism-Invariant Averaging In Quantum Gravity And Cosmology