New York court upholds towns’ zoning power; DEC does not trump local rules