The demand for illegal migration and market outcomes