Effect of local and upwind stratification on flow and dispersion inside and above a bi-dimensional street canyon