Magnetic structures and magnetocrystalline anisotropy in bulk and thin film Fe3Pt