Preparation and Characterization of Polyamides and Nitrogen‐doped Carbons for Enhanced CO2 Capture