by reaction with phosphorus- or sulfur-containing compounds