The UK has re-established diplomatic ties with Syria, David Lammy has said, as he made the first visit to the country by a British minister for 14 years.