CORRELATION BETWEEN MAGNETISM AND LATTICE SPACING c IN COMPOUNDS WITH NiAs-TYPE STRUCTURES