Delay-induced patterns in a reaction–diffusion system on complex networks