Stimulated spin dynamics of polaritons in semiconductor microcavities