Flip-Flop Consistency: Unsupervised Training for Robustness to Prompt Perturbations in LLMs