Afghan riots reveal ‘deeper problems,’ Annan says