Detecting of optimal Li-ion battery charging frequency by using AC impedance technique