from sulfur or sulfur-containing compounds and aldehydes or ketones