Rhodamine B as a probe for phase transition in liquid solutions