Spin fluctuations in Y1−xScxMn2 and Y(Mn1−xAlx)2 observed by perturbed-angular-correlation spectroscopy