UBS sees big market swings and only slight gains for stocks in 2024