Temperature dependent study of the band edge excitons of ReS2 and ReSe2