Bubble and dew point calculations in multicomponent and multireactive mixtures