Spin-polarization-induced structural selectivity in Pd$_3X$ and Pt$_3X$ ($X=3d$) compounds — arXiv2