Near-Optimal Entrywise Sampling for Data Matrices