Self-assembled polymetallic square grids ([2 × 2] M4, [3 × 3] M9) and trigonal bipyramidal clusters (M5)—structural and magnetic properties