Theoretical investigation of PtSi surface energies and work functions