Human behaviors determine the direct and indirect impacts of free-ranging dogs on wildlife