UBS posts net earnings beat as market volatility improves trading