UK's Afghan gains 'could be lost'