Afghanistan's Taliban has accused Pakistan's military of targeting a Kabul hospital that treats drug addicts in airstrikes that killed more than 200 people.