SemiReward: A General Reward Model for Semi-supervised Learning