Density functional calculations of Pb1−xCaxSySe1−y alloys lattice matched to different substrates