States of LLM-generated Texts and Phase Transitions between them