A multifunctional pentlandite counter electrode toward efficient and stable sensitized solar cells