Photoelectron-diffraction measurements of sulfur and selenium adsorbed on Ni(001)