Turing and wave instabilities in a vegetation–water–sand reaction–diffusion model