NeuroLoc: Encoding Navigation Cells for 6-DOF Camera Localization