Constructing Tree-based Index for Efficient and Effective Dense Retrieval