The anisotropy of the optical properties of ternary semiconductors formed by elements of III and VI groups