Controlled shrinkage of cellulose nanofibril films to enhance mechanical and barrier properties