The structure of atacamite and its relationship to spinel