SafetyDPO: Scalable Safety Alignment for Text-to-Image Generation