Investigation of Structures and Properties of C3P4 Alloy Using First-Principles Electronic Structure Calculation