US and British troops leave their bases in southern Afghanistan after a 13-year presence in the country which has cost thousands of lives.