Correlation of the Antibacterial Activity and Local Structure in Zn- and Mn-Doped Hydroxyapatites by Rietveld Refinement and the First-Principles Method