When an American president dies or has to hand over his functions to the VP, how long after that do the new elections take place? What if the next elections were already planned within that period or shortly after?