Measurement of the atmospheric muon neutrino energy spectrum with IceCube in the 79- and 86-String configuration