Copper 1D coordination polymers and dimers: Role of the carboxylate and the ammonium cation, crystal structures and magnetic studies