Transitions in superionic crystals