Magnetic anisotropy of FePt: Effect of lattice distortion and chemical disorder