Design Principles of the Hippocampal Cognitive Map