Mayor Bloomberg blasts stop-and-frisk ruling