A versatile green analytical method for determining chlorine and sulfur in cereals and legumes.