Lower-hybrid-heating experiments on the Alcator C and the Versator II tokamaks