Britons have been urged to leave Lebanon and avoid travel to the country as tensions soar in the Middle East.