Similar Items: Infinite-dimensional Mahalanobis Distance with Applications to Kernelized Novelty Detection