the number of degrees of freedom for a rigid diatomic molecule is ------------