New York elections, 1842