British lender Metro Bank swings to profit in first half