An optimization–diversification approach to portfolio selection