Modeling of returns and trading volume by regime switching copulas