A structure-based kinetic model of transcription