how does the p/e ratio affect stock valuation