Activation and inhibition of transcription by supercoiling