Metastability route to obtain nanocomposites by SHS