An Introductory Tutorial on Brain–Computer Interfaces and Their Applications