Thousands attend ceremonies to mark the centenary of the end of World War One.