Afghan officials have confirmed that a British journalist captured in the country four days ago has been freed by NATO forces, but his interpreter died in the raid.