Investigation on the Three-Dimensional Nanostructure and the Optical Properties of Hydroxyapatite/Magnetite Nanocomposites Prepared from Natural Resources