Criteria of hydrodynamic instability of a phase interface in hydrothermal systems