One model of a diatomic gas assumes that the molecule can be treated as a kind of a top, with a constant moment of inertia. In this case, the energy of the diatomic molecule has the form?