Towards the theory of phase transformations in metastable liquids. Analytical solutions and stability analysis