More than 50,000 Palestinians have been killed during Israel's military campaign in Gaza, the Hamas-run health ministry says.