Gauge-invariant on-shellZ 2 in QED, QCD and the effective field theory of a static quark | doi.page