Synthesis of various metal, ceramics and intermetal matrix nanocomposites