Structure and properties of PbS films