Radiofrequency divertor for tokamaks