n-Type doping of diamond by sulfur and phosphorus