Synthesis of binary and ternary semiconductors by means of microwave irradiation