How to charge two sets of batteries with photovoltaic panels