Israeli attacks have killed at least seven Palestinians in two separate attacks in Gaza, the territory's health officials said.