Comprehensive elucidation of the effect of residual lignin on the physical, barrier, mechanical and surface properties of nanocellulose films