US fastfood giant McDonald's has reported a 56% increase in quarterly net income, boosted by strong comparable sales and improved margins.