Ab initio study of structural, electronic, and thermal properties of Pt1-xPdx alloys