Synthesis of nanostructured catalysts