Kernelized Supervised Dictionary Learning