Denis Sassou Nguesso has been sworn in for a fifth term as president of the Republic of Congo.