Adaptive random Fourier features with Metropolis sampling