Effects of chronic pain on function, depression, and sleep among patients with traumatic spinal cord injury