MOF‐derived 1D/3D N‐doped porous carbon for spatially confined electrochemical CO2 reduction to adjustable syngas