regulation of DNA-templated transcription