Comparison of dye-sensitized photo electrochemical cell and solid-state cell: Studies of charge transport and carrier lifetime