Mylan's second-quarter sales rise 2%, topping forecasts