Gravar-mail: Rational design of a ligand-controlled protein conformational switch