Societe Generale to pay $1.3bn to settle legal disputes in US