Two distinct transcription termination modes dictated by promoters