Cryo-EM analysis of a viral portal protein in situ reveals a switch in the DNA tunnel