The role of spin-orbit coupling on the optical and thermoelectric properties of pristine and defective CsSnCl3 | Synapse