British troops could train and support the Lebanese armed forces to secure the ceasefire agreed between Israel and Hezbollah, Foreign Secretary David Lammy has indicated.