Pakistani president's 5-year term ends but Alvi continues