Calculation of the Joule-Thomson inversion curves from cubic equations of state