S- and P-Wave Strength Functions and the Spin, Isospin and Spin-Orbit Dependence of the Optical Potential