Minimax Optimal Nonparametric Estimation of Heterogeneous Treatment Effects