How to create decile portfolios based on volatility and compute value-weight returns?