Afghanistan is investigating the alleged torture and drowning of migrants at the Iranian border.