The architecture and mechanics of earthen structures