Investigation and field effect tuning of thermoelectric properties of SnSe2 flakes