Structure and properties of phosphorus-carbide thin solid films