Spatial Imagination With Semantic Cognition for Mobile Robots