Afghan villagers shot 'in error'