Electric field control and effect of Pd capping on magnetocrystalline anisotropy in FePd thin films: A first-principles study