Liquid-vapor coexistence in fluids of dipolar hard dumbbells and spherocylinders