Optical property of the near band-edge transitions in rhenium disulfide and diselenide