The Empirical Characteristic Function and Its Applications