Blow-up and global existence for the porous medium equation with reaction on a class of Cartan–Hadamard manifolds