Phase-matched third harmonic generation in a plasma