Convert BST to double linked list