4D printing technology could stimulate nerves and treat pain