LSDF-approach to the theory of exchange interactions in magnetic metals