Reticular synthesis of porous molecular 1D nanotubes and 3D networks.