Phosphorus-doped glass proton exchange