Scale dependence of the alignment between strain rate and rotation in turbulent shear flow