Novel nanoporous carbon derived from metal–organic frameworks with tunable electromagnetic wave absorption capabilities