The Flavor Physics in Unified Gauge Theory from an S3 × P Discrete Symmetry