Formation of Colloidal Nanocellulose Glasses and Gels.