Template synthesis of highly ordered hydroxyapatite nanowire arrays