Thermal plasma deposition of nanostructured films