Afghanistan has accused Pakistan of killing at least 400 people and injuring 250 others in an airstrike on a hospital in the capital Kabul.