The giant octupole resonance in deformed nuclei