Classification of multichannel EEG signals to detect motor imagery and mental arithmetic activities in the brain using signal processing and machine learning techniques