How basic properties of MgO-based mixed oxides affect the catalytic performance in gas-phase and liquid-phase methylation of m-cresol