Electrostatic catalysis by ionic aggregates: scope and limitations of Mg(ClO4)2 as acylation catalyst