Stability of miscible displacements in porous media with nonmonotonic viscosity profiles