A Transient Heating Model for the Structure and Dynamics of the Solar Transition Region