Green and Functional Aerogels by Macromolecular and Textural Engineering of Chitosan Microspheres.