Britain and Sweden have become the first European nations to say they could send troops to help secure Ukraine after an end to the war there.