Detection of movement-related cortical potentials based on subject-independent training