A school sheltering displaced families in central Gaza was among those hit, two hospital directors tell the BBC.