Coordination networks from the self-assembly of silver salts and the linear chain dinitriles NC(CH2)(n)CN (n = 2 to 7): a systematic investigation of the role of counterions and of the increasing length of the spacers