McDonald’s Q3 profit rises 5.9%