At least 20 people, including many children, have been killed in flash floods in six districts and the capital of Afghanistan's southern province of Kandahar, the United Nations has said.