Synchrotron-based investigations into metallic impurity distribution and defect engineering in multicrystalline silicon via thermal treatments