The spatial relationships between dissipation and production rates and vortical structures in turbulent boundary and mixing layers