The judge said the two soldiers had ‘exemplary’ military careers before the drugs plot was foiled