Wood has been vital in theĀ development of human civilisation. Brian Clegg looks at the compound at its heart