Mean-field theory of two-layers neural networks: dimension-free bounds and kernel limit