Perioperative management of patients with implanted electronic devices for the treatment of chronic pain