The structure of intercrystalline interfaces