Photochemistry of SO2 in the atmosphere of Io and implications on atmospheric escape