Phase transitions induced by easy-plane anisotropy in the classical Heisenberg antiferromagnet on a triangular lattice: A Monte Carlo simulation