Analyzing the discrepancy principle for kernelized spectral filter learning algorithms