Jordan og 17 andre arabiske og islamiske nationer har fordømt en israelsk luftstribe på et hospital i Gaza, der dræbte seks mennesker.