Self-assembly of copper(I) and silver(I) complexes with square-grid and channel structures