Influence of the microcrystalline structure on the magnetic properties of ferromagnetic films and structures on their base