Hamas sets terms for ceasefire with Israel