Magnetic Potential Energy and Field Energy