Low-carbon urban form from neighborhoods to large agglomerations