Influence of water content on the self-assembly of metal-organic frameworks based on pyridine-3,5-dicarboxylate.