Investigating the increased-capacity mechanism of porous carbon materials in lithium-ion batteries