Virial theorem decomposition of molecular force fields