Tactile sensor for neural prostheses