DFT investigation of structural and vibrational properties of type B and mixed A-B carbonated hydroxylapatite