Structure and magnetic properties of nanocrystalline ferromagnets (I)