Phase structure, phase transition and thermoelectric properties of pristine and Br doped SnSe2