Thermal etching of binary and ternary III–V compounds under vacuum conditions