Structural and electronic properties of bulk and low-index surfaces of zincblende PtC