Representation Learning in Partially Observable Environments using Sensorimotor Prediction