structure of NaCl, CsCl, diamond and graphite