Predicting head direction of rodents from recordings in the hippocampus