Magnetic-field-assisted assembly of CoFe layered double hydroxide ultrathin films with enhanced electrochemical behavior and magnetic anisotropy.