A new method to construct nanostructured materials of controlled morphology