Pure alkali metal polyphosphates from impure starting materials