Construction of Fe6, Fe8 and Mn8 metallamacrocyclic complexes and magnetic properties