How federal officials investigate mass shootings