A comparative analysis of homicides committed with knives and firearms after introducing legal restrictions