Variation and selection on codon usage bias across an entire subphylum