A portfolio diversification strategy via tail dependence clustering