A novel dry-contact electrode for measuring electroencephalography signals