Closing the loop in deep-brain stimulation for psychiatric disorders: lessons from motor neural prosthetics