Text this: Defect study and modelling of SnX3-based perovskite solar cells with SCAPS-1D