Shape transition and coexistence in Te isotopes studied with the quadrupole collective Hamiltonian based on a relativistic energy density functional