Electricity from wood: a wood quality and energy efficiency approach to small scale pyro-gasification