High-dimensional frameworks dependent on coordination mode of ligand controlled by acidity of reaction solution. Syntheses, structures, magnetic and fluorescence properties of eight new compounds