Mechanism of enhanced hydrogen adsorption on palladium-doped nanoporous carbon fibers