Synoptic and mesoscale processes supporting vertical superposition of the polar and subtropical jets in two contrasting cases