Stability-based Generalization Analysis for Mixtures of Pointwise and Pairwise Learning