Broadband magnetic losses of nanocrystalline ribbons and powder cores