A three-dimensional porous hydroxyapatite nanocomposite scaffold with shape memory effect for bone tissue engineering