1840 New York census