Linking the Spatial Syntax of Cognitive Maps to the Spatial Syntax of the Environment