Cortical reactivations predict future sensory responses