Estimating Phred scores of Illumina base calls by logistic regression and sparse modeling