Tight Margin-Based Generalization Bounds for Voting Classifiers over Finite Hypothesis Sets