Vaccines provide a boost for GlaxoSmithKline, Sanofi and Merck in second-quarter financials