On the Connection between Neural Networks and Kernels: a Modern Perspective