Assessing Safety Performance of Roadway Characteristics in Rural and Urban Contexts