US president says ‘a lot of work’ has been done over weekend towards ceasefire deal