The Taliban says its suicide bomber targeted special forces soldiers but most of those killed and injured were civilians.