Israeli attacks on hospitals in Gaza raise serious concerns about Israel's compliance with international law, a UN Human Rights Office report says.