SpaReg: sparsity-based 3D reconstruction of tissue microenvironments at native resolution across morphological and