Optimization of phenolic resins for friction materials