Investigation of thermoelectric properties of orthorhombic and rock salt SnS and SnSe from first-principles calculation