Cognitive prostheses: communication, rehabilitation and beyond