Assembly of a cubic nanocage Co8L12 and a hydrogen-bonded 3D NbO net based on the [(HCO3)2]2- synthon and water.