UBS results beat expectations as bank warns of US vote risks