Bulk nanocrystalline and nanocomposite alloys produced from amorphous phase