Visa and Mastercard win preliminary approval for $38B settlement