H-Consistency Bounds: Characterization and Extensions