Evaluation of electromagnetic fields in the treatment of pain in patients with lumbar radiculopathy or the whiplash syndrome