One-pot preparation of bi-functional cellulose nanofibrils