Engineering copper phosphinates and bipyridines: sheets, ladders and (nano)tubes