Exciton–polariton spin rotation in microcavities in zero magnetic field