Identification of Mixtures of Discrete Product Distributions in Near-Optimal Sample and Time Complexity