Giant resonances in unstable oxygen isotopes