Structural phase transitions and their analogues in liquid crystals