Robert Gates: War on Iran would be 'catastrophic'