Construction of 3D layer-pillared homoligand coordination polymers from a 2D layered precursor.