Structural diversity and near-infrared luminescence of lanthanide coordination polymers with different flexibility and coordination orientation based on bipyridyl carboxylate and dicarboxylate ligands