Facebook, Twitter co-operated with Brazil probe of alleged militants