Ab initio electronic transport and thermoelectric properties of solids from full and range-separated hybrid functionals