Afghanistan has accused Pakistan of killing more than 400 people in an attack on a drug rehabilitation hospital in Kabul.