Biomimetic self-assembling copolymer-hydroxyapatite nanocomposites with the nanocrystal size controlled by citrate