Surface structures and electronic properties of SO2 adsorbed on Ni(111) and Ni(100) studied by S K-edge X-ray absorption fine structure spectroscopy