Crystallographic structure of ternary semiconducting alloys