Competing structural orderings and transitions to glass in mixed crystals of Rb1-x(NH4)xH 2PO4 | Synapse