Molecular beam photoionization study of S2