Electronic and charge transfer properties of bio-inspired flavylium ions for applications in TiO_2-based dye-sensitized solar cells