Theory of perpendicular magnetocrystalline anisotropy in Fe/MgO (001)