Long memory and tail dependence in trading volume and volatility