Topological disorder in phosphate and other ceramics