Event-related Potentials and Their Applications