Phases and phase transitions of (NaCl)1?x(NaCN)x