Vice-president quits as Egypt votes on constitution