Rebuild binary tree from preorder and inorder.