Distinct DNA binding sites contribute to the TCF transcriptional switch in C. elegans and Drosophila