Origin of the Inversion of the Acidity Order for Haloacetic Acids on Going from the Gas Phase to Solution