The world celebrated the New Year with fireworks and countdowns, marking the end of a year marked by war in Europe, new chapters in the British monarchy, and worries about inflation.