The structure and dynamics of Titan's middle atmosphere