Single and double π − / π + ratios in heavy-ion reactions as probes of the high-density behavior of the nuclear symmetry energy