Atomic migration and ordering phenomena in bulk and thin films of FePd and FePt