how to connect inverter to home mains