On the origin of precipitation of transition metals implanted in MgO