The Mid-Pleistocene and the Pliocene-Pleistocene transitions, clues of the resonance of the climate system in subharmonic modes