Nanocrystalline and nanocomposite permanent magnets by melt spinning technique