Carey Hart has undergone "successful" shoulder surgery and he has thanked his wife Pink, who has dubbed him the "bionic man".