New York and New Jersey passed laws legalizing recreational marijuana roughly within a month of each other this year, moves expected to spur demand for cultivation sites, processing centers and retail dispensaries. But the initial rules for each state creates different opportunities and challenges for commercial real estate.