Gunman opens fire at upstate New York shopping mall