Sensorimotor experience remaps visual input to a heading-direction network