Properties of amorphous and crystalline surfaces of nano-hydroxyapatite