Biomimetic synthesis of carbonated hydroxyapatite thin films.