Ligand-directed control over crystal structures of inorganic-organic frameworks and formation of solid solutions.