Preparation and microstructure analysis of chitosan/hydroxyapatite nanocomposites.