Officials blame militants for Bangalore shootings