Preservation of three-dimensional spatial structure in the gut microbiome