Neural dynamics of motion perception, recognition learning, and spatial attention