schenectady is part of new york state