how is the p/e ratio used in stock valuation