Measurements of branching fractions, rate asymmetries, and angular distributions in the rare decays B→Kℓ^+ℓ^- and B→K^*ℓ^+ℓ^-