troy is part of new york state