Low‐Cost and Scalable Fabrication of Hierarchically Porous N‐Doped Carbon for Energy Storage and Conversion Application