Surgery outcomes and functionality in patients with cervical spondylotic myelopathy