how to connect solar panel to inverter with battery