Optimisation and characterisation of alternative hole transporting media of dye-sensitised solar cells and stability study of perovskite solar cells