Modeling growth, morphology, and composition of ternary III – V nanowires