Pharmaceutical stocks like Eli Lilly and Merck are good places to help investors ride out a recent rise in geopolitical turmoil, according to UBS.