Swiss bank’s second-quarter earnings more than double on wealth management and trading revenues in volatile market