Single-molecule measurements of transcript elongation and termination by RNA polymerase