Amorphous and nanocrystalline alloys