On the signature of links