High-dimensional discriminant analysis and covariance matrix estimation