Engineering the charge extraction and trap states of Sb2S3 solar cells