Gauge-invariant expectation values of the energy of a molecule in an electromagnetic field | doi.page