Phase transitions in resorcinal