Barium polyphosphate glasses, from structure to thermochemistry