The chemistry of 6-hydroxyflavylium: zwitterionic base and p-quinoidal chalcones. A multiswitchable system operated by proton, electron and photon inputs