The microscopical theory of homogeneous nucleation in alloys : I. General relations