Brazil's Lula says intelligence services failed in riot