Influence of pretreatment, lignin extraction, and chemical modification on lignin properties and the performance of lignin-formaldehyde resins and lignin-PLA composite materials