At least 1,000 people have been killed and hundreds more injured after a powerful earthquake hit southeastern Afghanistan overnight.