Controlled hydroxyapatite biomineralization in an ~810 million-year-old unicellular eukaryote