A Transductive Bound for the Voted Classifier with an Application to Semi-supervised Learning