Temporal Prediction As Principle Underlying Sensory Representations