K-mer Based Methods for Measuring and Predicting DNA-Binding Specificity of Transcription Factors