Properties of amorphous and crystalline surfaces of nano-hydroxyapatites