A 10-day ceasefire between Israel and Lebanon has come into effect.