Automatic electric vehicle charging using excess power from photovoltaic systems