Endohedral fullerenes: A way to control resonant high-order harmonic generation