Afghan blast kills 33; president blames Islamic State