Violence and social inequalities: mortality rates due to homicides and life conditions in Salvador, Brazil