Laser photodetachment determination of the electron affinities of OH, NH2, NH, SO2, and S2