Wavelength resolved UV photodesorption and photochemistry of CO2 ice.