Melting of powder grains in a plasma flame