Modelling of oxygen solubility in titanium