Deposition of boron or phosphorus doped silicon oxide