Large thermoelectric figure of merit in hexagonal phase of 2D selenium and tellurium