Structural properties of the price-to-earnings and price-to-book ratios