Dendritic polyampholyte assisted formation of functional cellulose nanofibril materials.