Mean-field Analysis on Two-layer Neural Networks from a Kernel Perspective