Effects of signal-dependent motilities in a Keller–Segel-type reaction–diffusion system