Reactive scattering of oxygen atoms with unsaturated hydrocarbons: Primary products, branching ratios and role of intersystem crossing