Detailed formation process of Co@C catalysts and the influence of structural regulation on catalytic properties.