Base-resolution models of transcription factor binding reveal soft motif syntax