The signature of rational links