The Republic of Congo’s president, Denis Sassou N’Guesso, has been sworn in to a new five-year term in a packed stadium.