Solar photovoltaic colloidal battery that can be charged and used by both solar energy and electricity