A First-Principles Investigation of the Electronic Structure and the Chemical Bonding for CaFe2P2and CaNi2P2