First principles calculations of structural, electronic, optical and thermodynamic properties of PbS, SrS and their ternary alloys Pb1−xSrxS