How can supercapacitors be charged with a battery