An efficacious method for the halogenation of β-dicarbonyl compounds under mildly acidic conditions