Two-dimensional metal halides