Thermodynamic analysis of a diabatic two-phase flow for a pure refrigerant and a refrigerant/oil mixture under equilibrium conditions