The relationship between structure and magnetic properties in nanostructured FePd ferromagnets