Control of the size for octahedral FePt nanoparticles and their magnetic properties