Inverter and solar panel