Analogy between the convective instability in a two-component liquid layer heated from below and the laser with saturable absorber