Swiatek wins WTA Finals, regains world No.1 ranking