Structural studies and detection of nitroaromatics by luminescent 2D coordination polymers with angular dicarboxylate ligands