Ligand effects on electronic and optoelectronic properties of two-dimensional PbS necking percolative superlattices