On exactly solvable models for systems with quantum phase transitions