Joint Optimization of Tree-based Index and Deep Model for Recommender Systems