Simplified preparation and characterization of magnetic hydroxyapatite-based nanocomposites