Generalized Venn and Venn-Abers Calibration with Applications in Conformal Prediction