Nanotechnology deal creates optimism for upstate economy