Suppressing stimulated Brillouin scattering in fiber amplifiers using nonuniform fiber and temperature gradient.