Small molecule dopant-free dual hole transporting material for conventional and inverted perovskite solar cells