Deprotonation of a ruthenium (II) complex incorporating a bipyrazole ligand leading to optical and electrochemical switching