Enabling fast charging of Li-ion batteries at subzero temperatures through pulse optimization