Mechanical response and multilevel structure of biomimetic hydroxyapatite/polygalacturonic/chitosan nanocomposites