An analytical study of the thermally induced two-phase flow instabilities including the effect of thermal non-equilibrium