Hamas claims responsibility for explosive attack