The use of P300-based BCIs in amyotrophic lateral sclerosis : from augmentative and alternative communication to cognitive assessment