The centenary of the end of one of the bloodiest episodes of the first world war, the 141 days of the Battle of the Somme in which more than a million men on both sides were killed or injured, is being marked with services in France and in the UK.