Time-Consistent Semi-Supervised Learning