Synthesis, crystal and electronic structures of Pt-rich phosphides EuPt3P and EuPt6P2.