Optimal Rate of Kernel Regression in Large Dimensions