How to spontaneously break R parity