US president says Hamas is rejecting deal because it knows 'what happens' after the last Israeli captives are released.