Molecular simulations of silicate melts doped with sulphur and nitrogen