Electroencephalography, basic principles, clinical applications, and related fields