Preliminary design of powerful gyrotrons for IGNITOR and DEMO