Storm dumps more than 30 inches of snow on parts of Western New York