Formulation of the Binary-Encounter Approximation in Configuration Space and Its Application to Ionization by Light Ions