Magnetic and thermo-structural design optimization of the Plasma Grid for the MITICA neutral beam injector