US fastfood giant McDonald's has reported a sharp rise in fourth-quarter and full-year net income, boosted by higher sales and increased customer numbers.