Haloacetic acid and trihalomethane formation from the chlorination and bromination of aliphatic beta-dicarbonyl acid model compounds.