South Korea court upholds jail for ex-President Park Geun-hye