buffalo is part of new york state