Monotonicity formulae for smooth extremizers of integral functionals