Controlled synthesis of lead-free perovskite Cs2SnI6 as hole transport layer in dye sensitized solar cells