Exercise before surgery improves pain and function outcomes