Equation of state of heteronuclear hard dumbbells