Protein–DNA binding dynamics predict transcriptional response to nutrients in archaea.