Phase transitions in molecular clusters