Fundamental aspects and applications of electrodeposited nanostructured metals