Magnetism of electrodeposited ultrathin layers: Challenges and opportunities