Israel said it had targeted a Hamas spokesperson, as hospitals and witnesses across the enclave reported dozens killed in airstrikes and gunfire