Natural selection driven by DNA binding proteins shapes genome-wide motif statistics