New plan to legalize marijuana emerges in New York