Subgrid and hybrid RANS/LES models for scalar transport and boundary layer transition