The synthesis of phosphinates: traditional versus green chemical approaches