Structural changes of lignin in biorefinery pretreatments and consequences to enzyme-lignin interactions