A Model for Predicting Phase Inversion in Oil-Water Two-Phase Pipe Flow