Shifts in mutation spectra enhance access to beneficial mutations