Optogenetic regulation of transcription