A two-scale mixing formulation for the atmospheric boundary layer