Pattern formation and spatiotemporal chaos in a reaction–diffusion predator–prey system