Taliban claims responsibility for Afghan ministry attack