Brazilian gangs step up attacks on police