Structural changes in switchgrass lignin and hemicelluloses during pretreatments by NMR analysis