CDS on Spanish debt surge after rating downgrade