Anisotropy of optical phonons in biaxially stressed zinc-blende- and diamond-type semiconductors and alloys