Helmholtz, the conservation of force and the conservation of vis viva