Lattice collapse and the magnetic phase diagram of Sr1-x Cax Co2 P2