Development of multi-purpose MW gyrotrons for fusion devices