Puzzles and confusions in supercapacitor and battery: Theory and solutions