Learned Kernels for Interpretable and Efficient Medical Time Series Processing