A comprehensive measure of product and international diversifications