Sharp Analysis of Random Fourier Features in Classification