Thousands of Britons to be flown home after Tunisia massacre