At least 30 civilians have been killed in a NATO air strike in Afghanistan's volatile northern province of Kunduz.