Electronic structure and thermodynamic properties of Fe-Pt alloys