Properties of bulk liquid Pd and Pt and their free liquid surface studied with first principles techniques