Donald Trump has confirmed he plans to sue the BBC for between $1bn and $5bn over the editing of his speech in a Panorama news programme.