Transition metal phosphonates with supramolecular structures: syntheses, structures, surface photovoltage and luminescence properties