A landmark deal has been struck by the aviation industry to limit greenhouse gases, but environmentalists are unimpressed.