Solar charger for lead-acid batteries