Ab initio theoretical study of the reactivity as bases or nucleophiles of potassium and lithium methides