The technology that lets deaf people hear could also treat hearing damage