From DeepCore to PINGU. Measuring atmospheric neutrino oscillations at the South Pole