Single-phase off-grid inverters