US and Iran sign ceasefire agreement