Learning with Consistency between Inductive Functions and Kernels