Highly luminescent and triboluminescent coordination polymers assembled from lanthanide β-diketonates and aromatic bidentate O-donor ligands.