Topic Modeling: Optimal Estimation, Statistical Inference, And Beyond