Shear effects on passive scalar spectra