Magnesium-mediated ortho-specific formylation and formaldoximation of phenols