Simple, Common but Functional: Biocompatible and Luminescent Rare-Earth Doped Magnesium and Calcium Hydroxides from Miniemulsion