Understanding the role and interplay of heavy-hole and light-hole valence bands in the thermoelectric properties of PbSe