(CNBC) Swiss banking giant UBS has beaten second-quarter earnings expectations, reporting net profit attributable to shareholders of $2 billion. This is up from $1.23 billion reported for the same period last year, and significantly above analysts expectations of $1.34 billion