Quantum transitions, magnetization and thermal entanglement of the spin-1 Ising–Heisenberg diamond chain