Magnetic properties of an exactly solvable antiferromagnetic Ising–Heisenberg model on the decorated triangular lattice