Investigation on transition metal ions doped hydroxyapatite for electrochemical charge storage applications